<template>
	<view class="shopping-order" >
		<view class="order-box" v-for="(item,index) in dataList" :key="index">
			<view class="order-num" >订单号：{{item.number}}</view>
			<view class="order-name" >商品：{{item.name}}</view>
			<view class="order-big">规格：{{item.specifications}}</view>
			<view class="order-msg">
				<span>下单时间：{{item.time}}</span>
				<span>实付：{{item.money}}</span>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: [
					{ 
						number:'20200103130855002', 
						name:'百合花',
						specifications:'一捧',
						time:'2021-01-03 11:00',
						money:'￥199'
					},
					{
						number:'20200103130855002', 
						name:'陶瓷扇形盆花',
						specifications:'三色堇、四季海棠、太阳花、雏菊、牵牛',
						time:'2021-01-03 11:00',
						money:'￥360'
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="less">
.shopping-order{
	font-size: 24upx;
	
	.order-box{
		padding: 30upx 40upx;
		border-bottom: 10upx solid #eeeeee;
	}
	.order-num{
		text-align: left;
		color: rgb(127, 77, 18);
		margin-bottom: 30upx;
	}
	.order-name{
		font-size: 28upx;
		font-weight: bold;
		color:#333333;
		margin-bottom: 30upx;
	}
	.order-big{
		font-size: 28upx;
		color:#74777C;
		margin-bottom: 30upx;
	}
	.order-msg{
		display: flex;
		align-items: center;
		overflow: hidden;
		span:first-child{
			color:#74777C;
			float: left;
			width: 430upx;
		}
		span:last-child{
			font-size: 32upx;
			color:#f59b22;
			float: left;
		}
	}
}
</style>
